/*
 * $Id: NetLinkRoute.h,v 1.4 2006-01-30 17:38:27 bacon Exp $
 */

#ifndef _XPP_NET_NETLINKROUTE_CLASS_
#define _XPP_NET_NETLINKROUTE_CLASS_

#include <xpp/net/NetLink.h>
#include <asm/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>

#if 0
//#ifdef __linux

namespace xpp
{
	namespace net
	{

		class NetLinkRoute: public NetLink
		{
		public:
			int open ();

			int ask (int family, int type);
			int dump ();

			int print_ipaddr (
				const struct sockaddr_nl* who, struct nlmsghdr* n);

		protected:
			int seq;

		};

	}
}

#endif

#endif
